package rita.network;

import java.io.FileNotFoundException;
import java.io.IOException;

import rita.battle.BatallaBin;
import rita.ui.component.DialogClientRita;

public class Main {

	public static void main(String[] args) throws FileNotFoundException, IOException {
		
		DialogClientRita c = new DialogClientRita();
		c.ejecutarRobocode();
		//ServerRita server = new ServerRita();
		//server.runServer();
		
		
		/*Settings.setInstallPath(args[0]);
		StringBuilder selectedRobots = new StringBuilder();
		// el robot del usuario siempre participa en la batalla
		selectedRobots.append(Settings.getProperty("defaultpackage")+"."+"Mono");
		selectedRobots.append("*,");
		selectedRobots.append(Settings.getProperty("defaultpackage")+"."+"Popi");
		selectedRobots.append("*,");
		System.out.println(Settings.getProperty("defaultpackage"));
		HelperEditor.currentRobotName = "Nuevo";
		HelperEditor.setEnemies(selectedRobots.toString());
		SourceCode.callBatalla(10);
		*/
//		BatallaBin.compilarRobots();
//		BatallaBin.crearArchivoBatalla();
	}
	
}
